Skip to content

(0.43) Fix PowerPC specific issues#18652

Merged
pshipton merged 1 commit intoeclipse-openj9:v0.43.0-releasefrom
LinHu2016:v0.43.0-release
Dec 19, 2023
Merged

(0.43) Fix PowerPC specific issues#18652
pshipton merged 1 commit intoeclipse-openj9:v0.43.0-releasefrom
LinHu2016:v0.43.0-release

Conversation

@LinHu2016
Copy link
Contributor

@LinHu2016 LinHu2016 commented Dec 19, 2023

-Replace do_{if(condition){...continute;}}while{false}; with
for(;;){if(condition){...}else{break;}_} for an infinite loop
with a break logic to handle waiting concurrent gc finish during
continuation mounting. compiler might generate wrong logic for
do_while infinite loop.

-fix small hole during mounting synchronization with concurrent
scanning(for the case concurrent scanning start just before resetting
pendingmount flag-before reading the value of state for atomic update)

  • new assertion check for catching issue earlier.

Port of #18637 for 0.43

 -Replace do_{_if_(condition)_{_..._continute;_}_}while_{false}; with
  for(;;)_{_if_(condition)_{...}_else{break;_}_} for an infinite loop
  with a break logic to handle waiting concurrent gc finish during
  continuation mounting. compiler might generate wrong logic for
  do_while infinite loop.

 -fix small hole during mounting synchronization with concurrent
  scanning(for the case concurrent scanning start just before resetting
  pendingmount flag-before reading the value of state for atomic update)

- new assertion check for catching issue earlier.

signed-off-by: hulin <linhu@ca.ibm.com>
@pshipton pshipton changed the title Fix PowerPC specific issues (0.43) Fix PowerPC specific issues Dec 19, 2023
@pshipton pshipton added comp:gc project:loom Used to track Project Loom related work labels Dec 19, 2023
@pshipton pshipton merged commit f2a305d into eclipse-openj9:v0.43.0-release Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:gc project:loom Used to track Project Loom related work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants